#!/usr/bin/python3

try:
    meinv = "zhaoliying"
    f = open("day.txt","w+")
    f.write("sanle python cali")
    f.close()
except NameError:
    print ("please check the name of variable")
except FileNotFoundError:
    print ("file is not found,please check the path of line")
else:
    print ("ok")
